package com.example.agrigreennewssys.service;


import com.example.agrigreennewssys.dao.DashboardMapper;
import com.example.agrigreennewssys.dto.DashboardDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 光的代言人
 */
@Service
public class DashboardService {
    @Autowired
    private DashboardMapper dashboardMapper;
    public DashboardDTO getDashboardData() {
        return dashboardMapper.getDashboardData();
    }
}
